# 不转义
a = r"""aaa\t
bbb\a
ccc\r
ddd\n
eee"""

# 转义
b = """aaa\n\t
bbb\a
ccc\r
ddd\n
eee"""
print("不转义: " + a)
print("转义: " + b)

""" 
不转义: aaa\t
bbb\a
ccc\r
ddd\n
eee


转义: aaa

bbb
ccc
ddd

eee

"""